# Author:Batian
## 完善课程表

import time
import calendar

nowtime = time.strftime("%Y-%m-%d %H:%M %A")
print("当前时间是:", nowtime)
user_name =["Batian"]
user_password ="407007467"
count = 5

while True:
    username = input("请输入您的账号:")
    password = input("请输入您的密码:")
    if username in user_name:
        if password in user_password:
            print("欢迎用户", username, "登陆系统使用")
            count = 10
            break

        else:
            if count == 1:
                print("0_0")
                break
            else:
                count -= 1
                print("您输入的密码不正确，请重新输入，您还有", count, "次机会")

    else:
        if count == 1:
            print("*_*")
            break
        else:
            count -= 1
            print("您输入的账号不正确，请重新输入，您还有", count, "次机会")

while True:
                time = input("你想查询星期几的课程表：")
                week_time = int(time)
                print(week_time)
                if week_time == 1:
                    print("星期一有四节课");
                    print("3-5节 重修Python！");
                    count -= 1
                    print("你还有", count, "的次数")
                elif week_time == 2:
                    print("星期二是躺平的一天");
                    count -= 1
                    print("你还有", count, "的次数")
                elif week_time == 3:
                    print("星期三开始划水:-)");
                    count -= 1
                    print("你还有", count, "的次数")
                elif week_time == 4:
                    print("星期四了还不躺平");
                    count -= 1
                    print("你还有", count, "的次数")
                elif week_time == 5:
                    print('周五是不用上的一节课o');
                    print("12-14 专业实习");
                    count -= 1
                    print("你还有", count, "的次数")
                else:
                    print("周末不休息，想吊路灯吗");
                    print("周末快乐");